.dx-colorbox {
    .dx-placeholder {
        left: 31px;
    }
}

.dx-colorbox-input-container {
    &.dx-colorbox-color-is-not-defined {
        .dx-colorbox-color-result-preview {
            background: @IOS7_COLORBOX_NOCOLOR_IMG no-repeat 0 0;
        }
    }
}

.dx-colorbox-color-result-preview {
    border-color: @IOS7_COLOR_VIEW_OVERLAY_BORDER_COLOR;
}

.dx-colorbox-overlay {
    .border-radius(.5em);
    .box-shadow(@IOS7_AUTOCOMPLETE_SHADOW);
    background-color: @IOS7_COLOR_VIEW_OVERLAY_BACKGROUND_COLOR;

    .dx-popup-content {
        margin: 0;
    }

    .dx-toolbar {
        background-color: transparent;

        .dx-toolbar-before,
        .dx-toolbar-after,
        .dx-toolbar-center {
            background-color: transparent;
        }
    }

    .dx-popup-bottom {
        margin: 0;
        padding-top: 20px;
        height: 48px;
        width: 100%;
        margin-bottom: 0;

        .dx-toolbar-item {
            padding: 0;
        }

        .dx-colorview-buttons-container {
            height: 28px;

            .dx-button {
                min-width: 90px;
            }
        }
    }
}

.dx-rtl {
    &.dx-colorbox, .dx-colorbox {
        .dx-placeholder {
            right: 31px;
        }
    }

    .dx-colorbox-overlay {
        .dx-toolbar-item:first-child {
            padding-left: 10px;
            padding-right: 0;
        }
    }
}
